package com.regex;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * NumberEnd..
 *
 * @author Lizhong
 * @date 2019/8/7
 */
public class NumberEnd {
    public static void main(String[] args) {
        String s1="m123";
        String s2="m1234";
        String s3="m12";
        String s4="m11";
        Pattern compile = Pattern.compile("[\\d]{3,}$");
        Matcher matcher = compile.matcher(s3);
        boolean matches = matcher.find();
        System.out.println(matches);
    }
    public void method01(){

    }
}
